home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr48 / vser10a.zip / VSER.TXT < prev   
Text File  |  1995-01-17  |  22KB  |  497 lines

  1.  
  2.  
  3.  
  4.     ╔════════════════════════════════════════════════════════════════════╗
  5.     ║                                                                    ║
  6.     ║                                                                    ║
  7.     ║                     Visible::Serialization(tm)                     ║
  8.     ║                     --------------------------                     ║
  9.     ║                                                                    ║
  10.     ║       append a serial number (or other identifier) to an .exe      ║
  11.     ║                                                                    ║
  12.     ║                                                                    ║
  13.     ║                                                                    ║
  14.     ║                                                                    ║
  15.     ║                     a product of RCCO Research                     ║
  16.     ║                                                                    ║
  17.     ║                                                                    ║
  18.     ╚════════════════════════════════════════════════════════════════════╝
  19.  
  20.  
  21.  
  22. Capabilities
  23. -------------
  24. Visible::Serialization(tm) is a utilities set primarily intended for
  25. developers so that they may append a serial number (or other identifier) to
  26. the end of an .exe file, create and/or increment such serial numbers, and
  27. search for and display a serial number appended to an executable file.  Users
  28. other than developers may use Visible::Serialization to initialize purchased
  29. software applications with ownership, security-related, or other identifying
  30. marks.
  31.  
  32. A unique serial number going out with each copy of an application affords
  33. the developer with a possible opportunity to identify, if need be, the
  34. registered client of a particular copy.  The end-user is normally unaware
  35. of the existence of such a mark, its location, its method of placement or
  36. the method of reading/verifying.  Its absence or modification may provide
  37. evidence of tampering.
  38.  
  39. Visible::Serialization may be used with most traditional MS-DOS or Windows
  40. executables, including those created with CA-Clipper, Borland Turbo Pascal,
  41. QuickBASIC, PowerBasic, Visual Basic(tm) for Windows or DOS, FoxPro, Clarion,
  42. C, Visual C++, etc.
  43.  
  44. The chief advantages, aside from the utilities themselves, are both low cost
  45. and method of acquiring.  The copy included herewith is a fully-functional
  46. evaluation copy available easily and universally through the user-supported
  47. software marketplace.
  48.  
  49.  
  50.  
  51.  
  52. The Visible::Serialization package
  53. -----------------------------------
  54. This set of utilities consists of the following primary files:
  55.  
  56.          CREATESN.EXE  (create or increment a serialno.dat file)
  57.          APPENDSN.EXE  (append a serial string in serialno.dat to an .exe)
  58.          SEARCHSN.EXE  (search/verify an .exe for a serial string)
  59.          SN2A.BAT      (sample batch file for production of successive
  60.                            serializations on distribution diskettes)
  61.  
  62. Also included are:
  63.          SERIALNO.DAT  (sample numerical serial number data file for
  64.                            reading by APPENDSN.EXE; not needed or
  65.                            necessarily distributed with applications)
  66.          SAMPLE.EXE    (sample c file .exe on which to practice append
  67.                            and search sessions)
  68.  
  69.  
  70.  
  71.  
  72. Using Visible::Serialization
  73. -----------------------------
  74. CreateSN.exe
  75. -------------
  76. You may use CreateSN.exe to create an ASCII text file called serialno.dat
  77. containing a beginning numerical sequence or an alphanumeric string to be
  78. used by the AppenSN.exe utility.  You may create and use both a numerical
  79. serial number (which can be incremented by subsequent runs of CreateSN.exe)
  80. or an alphanumeric string (including letters, digits, punctuation marks and
  81. spaces).
  82.  
  83. If there is in the working directory for the project at hand a file called
  84. serialno.dat, CreateSN.exe will attempt to increment a numerical serial
  85. number up to nine (9) digits by one number.  For example, if the serialno.dat
  86. file contains the number 10001, running CreateSN from the command line will
  87. change serialno.dat to 10002.  If serialno.dat contains characters other
  88. than digits, or contains a digital sequence greater than 9 in length, an
  89. appropriate message will report that the sequence cannot be incremented,
  90. accompanied by an exit to the system prompt.
  91.  
  92. If a serialno.dat file is not found in the current directory, CreateSN.exe
  93. will prompt you for a beginning serial number.  You may enter either a
  94. numerical sequence or any alphanumeric string up to 34 characters in length.
  95. Only if you intend to have CreateSN increment the sequence later must you
  96. limit the length and content to 9 digits or less, with no letters, spaces or
  97. punctuation marks.
  98.  
  99. After appropriate entry of a new sequence or an increment of an existing
  100. sequence, CreateSN.exe will indicate successful completion and display the
  101. new serialno.dat file typed to the screen for verification.  The serialno.dat
  102. is now ready for use by AppendSN.exe.
  103.  
  104.  
  105. AppendSN.exe
  106. -------------
  107. To use AppendSN.exe, you type at the DOS prompt:
  108.  
  109.                         appendsn <filename.exe>
  110.  
  111. and press <enter>, where <filename.exe> is the actual copy of the .exe file
  112. you wish to serialize.  We provide a practice file in this package,
  113. sample.exe, for purposes of trying the append and search/read operations.
  114. (You may wish to retain an unchanged copy of the original sample.exe for
  115. evaluating various serialization sequences and the resulting appends.)
  116.  
  117. If there exists in the current directory an appropriate serialno.dat file,
  118. AppendSN.exe will read the sequence therein.  If the sequence consists of
  119. 34 or less characters in length, AppendSN.exe will append that sequence to
  120. the end of the .exe file named as the required command line parameter.  (If
  121. serialno.dat contains a sequence in excess of 34 characters, an appropriate
  122. message will display, accompanied by an exit to the system prompt.)
  123.  
  124. For example, if the serialno.dat file contains the sequence of digits 10002,
  125. and we execute
  126.  
  127.                         appendsn sample.exe <enter>
  128.  
  129. then 10002 will be appended to the end of sample.exe.  Should the serialno.dat
  130. file contain the sequence:  10002 John C. Smith, then that exact sequence
  131. will be appended to sample.exe.  A serialno.dat file containing "Property of
  132. XYZ Corp." will cause that string to be appended to sample.exe.
  133.  
  134. After successful completion of the append, AppendSN.exe will note that with
  135. an appropriate message.
  136.  
  137.  
  138. SearchSN.exe
  139. -------------
  140. The third utility in the Visible::Serialization set is SearchSN.exe.  You
  141. may use SearchSN.exe to search/verify an .exe for a serial string.  If you
  142. take the original, unserialized copy of sample.exe and type
  143.  
  144.                         searchsn sample.exe <enter>
  145.  
  146. you will receive a message stating "Serial number not found."
  147.  
  148. If the .exe file has been initialized with a serial number sequence by
  149. using AppendSN.exe (as above), then the results will be a partial dump
  150. of that area of the .exe showing our program name followed by the appended
  151. serial number sequence.  (There may also be a few garbage characters or
  152. other text displayed as well, but these should not interfere with the reading
  153. or verification of the true serial number sequence.)
  154.  
  155. You may also view the serial number sequence with a hex editor; search for
  156. the key string "Visible::Serialization."  If you intend to utilize the
  157. serial number programmatically in an application -- that is, reading it for
  158. display or verification purposes on the end-user's machine -- you will also
  159. search for the same key string and read the requisite succeeding bytes for
  160. the serial number.  Please note that your registered copy will not include
  161. the unregistered copy notice and that its absence will affect the number of
  162. bytes to be read before locating the serial number itself.
  163.  
  164.  
  165.  
  166.  
  167. The serialno.dat file
  168. ----------------------
  169. You may also create/modify a serialno.dat file with your text editor or
  170. simply modify the sample one included with this package.
  171.  
  172. Serialno.dat must be a plain ASCII text file (no extraneous characters)
  173. consisting of one line only, with no more than 34 characters in the one line;
  174. it must be left-justified within serialno.dat.  It should appear similarly
  175. as follows:
  176.  
  177. 10002
  178.  
  179.  
  180. (or)
  181.  
  182. 10002 John C. Doe
  183.  
  184.  
  185. (or)
  186.  
  187. John C. Doe
  188.  
  189.  
  190. (or)
  191.  
  192. A123 456-78M
  193.  
  194.  
  195. (or)
  196.  
  197. Property of XYZ Corp.
  198.  
  199.  
  200. etc.
  201.  
  202. within the format limitations described above.
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209. Production Use
  210. ---------------
  211. In order to use Visible::Serialization in producing multiple copies of
  212. sequentially serialized .exe's, there are several possible steps to consider.
  213.  
  214. First, if the distribution diskette will simply contain an unarchived copy
  215. of your .exe, you can utilize a batch file similar to the included sample
  216. SN2A.BAT.  SN2A.BAT is fairly self-explanatory, assuming the disks to be
  217. initialized are going to be in Drive A: of your production machine and are
  218. already made up in the needed quantity.  Modify or create your own SN2A.BAT
  219. as needed; make sure the Visible::Serialization executable files are in your
  220. path or the complete pathname of those files is indicated in SN2A.BAT.
  221. Successive runs of SN2A.BAT will initialize each stock diskette in turn.
  222.  
  223. If your intended .exe is to be placed in a compressed archive file for
  224. distribution purposes, you should create a batch file that will initialize
  225. the .exe with the next serial number, update the archive each time, and copy
  226. it to the next distribution diskette.  Often, a firm will have a quantity of
  227. distribution disks made up containing everything except one final archive
  228. file which will contain only the initialized .exe file; then, in sequence,
  229. a batch file will execute the initialization on a virgin copy of the .exe,
  230. compress it in its own archive, and lastly, copy it to the next disk where
  231. the appropriate label (if it indicates a serial number) may be applied.
  232.  
  233. Our own firm often leaves a copy of serialno.dat in the root directory of
  234. the distribution diskette.  We include a note in the readme.txt that informs
  235. the client that "The serial number registered in the user's name is found in
  236. the file SERIALNO.DAT.  It is provided on the disk for your recordkeeping
  237. purposes only."  It also provides a means for our staff or external agents
  238. to make a quick check that the serial number matches the one indicated on
  239. the disk label or invoice, should the need arise.
  240.  
  241. There are many possible alternatives to producing initialized copies for
  242. distributions; most development firms will create their own preferred
  243. operation appropriate for an application.  The above descriptions are only
  244. possible suggestions and are not meant to preclude other means for utilizing
  245. the Visible::Serialization program.
  246.  
  247.  
  248.  
  249.  
  250.  
  251. Precautions
  252. ------------
  253. Always work with COPIES of your original .exe files.  Periodically verify
  254. with SearchSN.exe the production copies of your .exe's to ascertain that
  255. the serial number sequence is properly written and readable.
  256.  
  257. It is possible to make multiple appends to the same .exe; the SearchSN.exe
  258. utility will attempt to locate and display only the first instance of a
  259. serial number sequence.
  260.  
  261. AppendSN.exe can be used to append the contents of serialno.dat to the end
  262. of file types other than .exe's.  You should well test and consider the
  263. intent and consequences of any such append.  The SearchSN.exe utility can
  264. have difficulty in locating the serial sequence in this or other rare
  265. circumstance.
  266.  
  267. You should verify that your applications are fully tested and bugfree before
  268. appending a serial number.  After a prototype append, you will most likely
  269. test again that the application works as it did previously.  In the unlikely
  270. event there are difficulties, we suggest that you restore an original copy
  271. of the application and perform again the testing process, then apply the
  272. append procedure according to the instructions provided in this documenta-
  273. tion.
  274.  
  275.  
  276.  
  277.  
  278.  
  279. Program Requirements
  280. ---------------------
  281. The requirements for running Visible::Serialization include a DOS-compatible
  282. PC with 512k memory.  DOS 3.1 (or later) or Windows 3.x (or later) should be
  283. utilized.
  284.  
  285.  
  286.  
  287.  
  288.  
  289. The Unregistered Evaluation Copy
  290. ---------------------------------
  291. The unregistered version of this program is intended for use in evaluation
  292. situations.  It may be used for ninety (90) days within your own organ-
  293. ization by persons that have knowledge and understanding of the fact that
  294. this is an unregistered evaluation copy.
  295.  
  296. The payment of the $19.95 purchase price for a registered copy of this
  297. program will allow license for a single user to make use of the program for
  298. purposes that are traditionally accepted for software utilities of this
  299. type.  Additional site license fees of $7.50 per user may be paid at the
  300. time of registration, or any time in the future after initial registration
  301. at the then current license fee in effect.  There are no runtime royalties
  302. involved in the distribution of your materials utilizing a duly registered
  303. copy of Visible::Serialization.
  304.  
  305. The license and authorized registration shall not be construed as being
  306. in effect until direct payment has been received by RCCO Research and an
  307. authorized, registered copy has been sent in the registered user's/users'
  308. name(s).
  309.  
  310.  
  311.  
  312.  
  313.  
  314. The Registered Version of Visible::Serialization
  315. -------------------------------------------------
  316. The registered copy performs the same execution as the evaluation copy, only
  317. without the unregistered copy notices.
  318.  
  319. Documentation for the registered version is an on-disk text file, similar to
  320. the present format.
  321.  
  322.  
  323.  
  324.  
  325.  
  326. Licensing Information
  327. ----------------------
  328. This program is licensed and supplied as is, without any warranty.  To the 
  329. extent permitted under applicable law, RCCO Research Associates disclaims 
  330. all warranties, either expressed or implied, with respect to this software 
  331. program, its quality, performance, merchantability, or fitness for any 
  332. particular purpose.
  333.  
  334. In particular, this software program is not guaranteed to prevent or detect
  335. damage to your data or programs.  In no event shall RCCO Research Associates
  336. be liable for any claims for lost profits or any damage, including, but not
  337. limited to, special, incidental, consequential or other damage (including, 
  338. without limitation, damages for loss of business profits, business interrup-
  339. tion, loss of business information, or other pecuniary loss) arising out of
  340. the use of or inability to use this RCCO Research Associates product, even
  341. if RCCO Research Associates has been advised of the possibility of such
  342. damages.  Some states do not allow the exclusion or limitation of incidental
  343. or consequential damages, so the above limitation or exclusion may not apply
  344. to you.  In no case shall RCCO Research Associates's liability exceed the
  345. license fees paid for the right to use the licensed version of the software. 
  346.  
  347. The license agreement and warranty shall be construed, interpreted and
  348. governed by the laws of the state of Tennessee.
  349.  
  350. This software program is protected under the Copyright Laws of the United 
  351. States of America and all applicable International Copyright Conventions.  
  352. Makers and/or users of illegal or unauthorized copies of the registered 
  353. version are subject to prosecution under these laws.
  354.  
  355. The name  Visible::Serialization(tm)  is a trademark of RCCO Research
  356. Associates.  Windows(tm) is a trademark of Microsoft Corporation.  Other
  357. trade names referenced herein are either trademarks or registered trademarks
  358. of their respective companies.
  359.  
  360.  
  361.  
  362.  
  363.  
  364. Registration Notes
  365. -------------------
  366. Registration will obtain a copy of the most recent authorized version and
  367. provide legal authorization for continued use of the program after the
  368. ninety-day (90-day) evaluation period.
  369.  
  370. To obtain a registered copy, you must mail an advance-payment registration
  371. fee of U.S. $19.95 + $2.55 shipping/handling ($7.05 non-U.S. shipping/
  372. handling, $4.05 for Canada) directly to RCCO Research.  Additional users
  373. are $7.50 per user.  Payment is to be made by check or money order only,
  374. please.  We require payment with order so that prices and fees may be kept
  375. as reasonable as possible; this policy has worked well for us in recent
  376. years, as we observe increased registration on products that are reasonably
  377. priced.  For credit card and telephone orders, see the Additional Ordering
  378. Options note below.
  379.  
  380. An invoice will be included with your order, showing the registered serial
  381. number(s) applicable to the purchase.  We can provide a pro forma invoice
  382. to those corporations or institutions that require same before payment can
  383. be issued; shipment will be made promptly upon receipt of payment.  Prices
  384. and/or registration and/or license fees are subject to change without notice.
  385.  
  386. Tennessee clients please include the required 8.5% sales tax on both the
  387. product amount and shipping/handling as mandated by the state.
  388.  
  389. International clients must pay by check or money order in U.S. dollars, drawn
  390. on a U.S. bank or the U.S. branch of an international bank.  Please realize
  391. that international postal money orders are considerably delayed through the
  392. postal systems and may not be the most expedient way of relaying payment.  An
  393. often-used form of payment consists of obtaining a dollar-denominated money
  394. order from the local American Express office which you may then airmail to
  395. us along with your order.  International orders are dispatched promptly
  396. when using a credit card order as outlined below, under Additional Ordering
  397. Options.
  398.  
  399. Please indicate program name and current version number on your order; you
  400. may use the Order.frm file provided with the package or simply send a note or
  401. letter with your name, organization name, address, program name & version,
  402. number of users being licensed, and remittance.  Your comments on our
  403. programs are welcomed.
  404.  
  405.  
  406.  
  407.  
  408.      Additional Ordering Options:
  409.      ----------------------------------------------------------------------
  410.      CREDIT CARD ORDERS ONLY -
  411.      You may order a registered copy of this RCCO Research program
  412.      with MC, Visa, Amex, or Discover from PsL, Public (software)
  413.      Library of Houston, Texas by calling 800-242-4775 or 713-524-6394,
  414.      or by FAX to 713-524-6398, or by CompuServe E-mail to 71355,470.
  415.      You may also mail credit card orders to PsL at P.O. Box 35705,
  416.      Houston, TX 77235-5705.  PsL's item/product number for
  417.      Visible::Serialization is #11763.
  418.  
  419.      THE ABOVE NUMBERS ARE FOR ORDERS ONLY.
  420.      Any questions about the status of the shipment of the order,
  421.      registration options, product details, technical support, volume
  422.      discounts, dealer pricing, site licenses, etc. must be directed in
  423.      writing to RCCO Research, P.O. Box 196, Gatlinburg, TN 37738.  To
  424.      ensure that you get the fastest possible delivery of your registered
  425.      copy, PsL will notify us the day of your order and we will promptly
  426.      ship the materials directly to you.  There are no additional fees
  427.      for ordering by credit card.
  428.  
  429.      Your credit card number is *not* transmitted to RCCO Research, but
  430.      rather is processed by PsL as part of their software registration
  431.      ordering service.
  432.  
  433.      The above service is made available as a convenience to client
  434.      individuals who feel comfortable with ordering by telephone and
  435.      with a credit card.  Established concerns may prefer to order
  436.      directly from RCCO Research with the company's own business check.
  437.  
  438.      The PsL staff cannot answer non-order inquiries.
  439.      ----------------------------------------------------------------------
  440.  
  441.  
  442.  
  443.  
  444.  
  445. Additional Information
  446. -----------------------
  447. If you have any comments regarding this program after (or with) registration,
  448. please send them to:
  449.  
  450.                               RCCO Research Associates
  451.                               P. O. Box 196
  452.                               Gatlinburg, TN 37738 (U.S.A.)
  453.  
  454. Please include your phone (day & evening) and fax (if any) numbers as well
  455. as your mailing address (and CompuServe number / Internet address, if any)
  456. on ALL written communications.  Please indicate the serial number from your
  457. registered copy of the program as well as your CustID number.  Our E-mail
  458. addresses are provided to registered users along with the invoice.
  459.  
  460.  
  461. RCCO Research is the publisher of Visible::Setup(tm) (a developers'
  462. installation utility for DOS applications used widely in many parts of the
  463. world), as well as several other popular development tools.  Please consult
  464. your favorite user-supported software source for the availability of these
  465. and other RCCO Research DOS and Windows programs.
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473. Visible::Serialization(tm)
  474. --------------------------
  475. append a serial number (or other identifier) to an .exe
  476.  
  477.  
  478.  
  479. (C) Copyright 1995 RCCO Research Associates
  480. All Rights Reserved under International Conventions
  481. Product of U.S.A.
  482.  
  483.  
  484.  
  485. RCCO Research Associates
  486. Post Office Box 196
  487. Gatlinburg, Tennessee 37738 (U.S.A.)
  488.  
  489.  
  490.                                     
  491.                      ┌─────────────────────────────────┐
  492.                      │     RCCO Research Associates    │
  493.                      │ Technical Publishers, Est. 1965 │
  494.                      └─────────────────────────────────┘
  495.  
  496.  
  497.